﻿using System;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace SBPweb.Communication.Server.Presentation.Web.Pages
{

    public partial class Main : Page
    {
        //private static SocketHost host;

        protected void Page_Load(object sender, EventArgs e)
        {
            //if (host == null)
            //{
            //    host = new SocketHost();
            //    host.LogManager = Global.LogManager;
            //    host.StartListening(IPAddress.Loopback);
            //}

            //string hostIp = Global.SocketHost.EndPoint.ToString();
            //hostIp = hostIp.Substring(0, hostIp.IndexOf(':'));
            //Silverlight1.InitParameters += string.Format(",HostIp={0}", hostIp);
        }

        //protected void b_Click(object sender, EventArgs e)
        //{
        //    Global.SocketHost.Send(tb.Text);
        //    //host.Send(tb.Text);
        //}

    }

}